package com.sjy.MyBlog.biz;

import java.util.List;

import com.sjy.MyBlog.bean.Result;
import com.sjy.MyBlog.bean.Subscribe;

public interface SubscribeBiz {

	/**
	 * 订阅博客
	 * @return
	 */
	Result addSubscribe(Subscribe subscribe);
	
	/**
	 * 查找所有订阅博客的邮箱
	 * @return
	 */
	List<Subscribe> selectSubscribe();
	
	/**
	 * 取消订阅
	 * @return
	 */
	Result cancleSubscribe(Subscribe subscribe);
	
}
